<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <h1><?php echo $heading_title; ?></h1>  
  <?php if ($restaurants) { ?>
  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="wishlist">
    <div class="wishlist-restaurant">
      <table>
        <thead>
          <tr>
            <td class="remove" style="width:50px"><?php echo $column_remove; ?></td>
            <td class="image" style="width:120px"><?php echo $column_image; ?></td>
            <td class="name"><?php echo $column_name; ?></td>
          </tr>
        </thead>
        <tbody>
          <?php foreach ($restaurants as $restaurant) { ?>
          <tr>
            <td class="remove"><input type="checkbox" name="remove[]" value="<?php echo $restaurant['restaurant_id']; ?>" /></td>
            <td class="image"><?php if ($restaurant['thumb']) { ?>
              <a href="<?php echo $restaurant['href']; ?>"><img src="<?php echo $restaurant['thumb']; ?>" alt="<?php echo $restaurant['name']; ?>" title="<?php echo $restaurant['name']; ?>" /></a>
              <?php } ?></td>
            <td class="name"><a href="<?php echo $restaurant['href']; ?>"><?php echo $restaurant['name']; ?></a></td>
          </tr>
          <?php } ?>
        </tbody>
      </table>
    </div>
  </form>
  <div class="buttons">
    <div class="left"><a href="<?php echo $back; ?>" class="button"><span><?php echo $button_back; ?></span></a></div>
    <div class="right"><a onclick="$('#wishlist').submit();" class="button"><span><?php echo $button_update; ?></span></a></div>
  </div>
  <?php } else { ?>
  <div class="content"><?php echo $text_empty; ?></div>
  <div class="buttons">
    <div class="right"><a href="<?php echo $continue; ?>" class="button"><span><?php echo $button_continue; ?></span></a></div>
  </div>
  <?php } ?>
  <?php echo $content_bottom; ?></div>
<?php echo $footer; ?>